package com.tchepannou.limbe.annotation;

import com.tchepannou.limbe.model.Model;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotation that indicate an {@link com.tchepannou.limbe.web.ActionController}
 */
@Retention (RetentionPolicy.RUNTIME)
@Target (value={ElementType.TYPE})
public @interface  Action
{
    Class<? extends Model> model () default Model.class;
}
